package com.borya.service.mobile;

import com.alibaba.fastjson.JSONObject;
import com.borya.model.db.User;
import com.borya.model.entity.HeaderEntity;
import com.borya.model.entity.UserToken;

public interface SdkUserService {

    /**
     * SDK商户激活提交
     */
    String saveMerchantActivation(JSONObject json, UserToken userToken, HeaderEntity authHeader);

    /**
     * SDK商户激活/补录预审
     */
    String merchantActivationPreAudit(User user, JSONObject json);

    /**
     * 回调SDK商户激活/补录预审结果
     */
    String preAuditBack(User user, JSONObject json);

    /**
     * SDK商户补录提交
     */
    String saveMerchantFill(User user, JSONObject json);

    /**
     * SDK商户激活校验企业营业执照数量的接口
     */
    String checkNumByBusinessLicence(User user, JSONObject json);

    /**
     * 获取订单状态
     * @param userToken
     * @param authHeader
     * @return
     */
    String getActivationOrderStatus(UserToken userToken, HeaderEntity authHeader);
}